/*
 * @Author:
 * @Date: 2017/4/17
 * @Last Modified by:
 * @Last Modified time:2017/4/17
 */
import  axios from 'axios';
const URL='http://127.0.0.1:8360/admin/index';
export default {
  userLogin(param){
    return axios.post(`${URL}/login`,param).then(res=>res.data);
  },
  userRegister(params){
    return axios.post(`${URL}/register`,params).then(res=>res.data);
  }
}
